%%%-------------------------------------------------------------------
%%% @author 4399
%%% @copyright (C) 2021, <COMPANY>
%%% @doc
%%%
%%% @end
%%% Created : 08. 十二月 2021 15:53
%%%-------------------------------------------------------------------
-module(game).
-author("4399").

%% API
-export([start/0, stop/0]).
start() ->
   application:load(log),
   application:load(emysql),
   application:load(gs),
   application:start(sasl),
   ok=mnesia:start(),
   ok = inets:start(),
   ok = ssl:start(),
   ok = db:start(),
   ok = log:start(),
   ok = application:start(gs).
stop() ->
   emysql:stop(),
   log:stop(),
   application:stop(gs),
   application:unload(log),
   application:unload(gs),
   application:unload(emysql).